home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / resume.d / 40-infra-red.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  198b  |  10 lines

  1. #!/bin/sh
  2.  
  3. # Restart IR if necessary
  4. if [ -f /var/run/irdadev ] && [ x$RESTART_IRDA = xtrue ]; then
  5.     rm /var/run/irdadev;
  6.     /etc/init.d/irda-setup start;
  7.     /etc/init.d/irda-utils start;
  8. fi;
  9.  
  10.